package Employees;

class SalariedEmployee extends Employee{
    public SalariedEmployee(String name,double salary){
        this.name=name;
        this.salary=salary;
    }
    public double calculateSalary(){
        return salary;
    }
}
